package com.four.rentalhousing.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Schema(description = "新闻信息")
public class News {
    @Schema(description = "编号（无实际意义）")
    protected int bh;
    @Schema(description = "新闻id")
    protected int id;
    @Schema(description = "创建时间")
    protected String cjsj;
    @Schema(description = "新闻标题")
    protected String xwbt;
    @Schema(description = "新闻摘要")
    protected String xwzy;
    @Schema(description = "新闻内容")
    protected String xwnr;
    @Schema(description = "新闻图片")
    protected String xwtp;
}